package com.neusoft.neuiotms.dcam.workflow.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.workflow.dto.RukuSLDTO;

public interface RukuSLService {

    RukuSLDTO create(RukuSLDTO dto, UserBean user);

    RukuSLDTO detail(String workOrderNum, String taskId, UserBean user);

    List<RukuSLDTO> search(Searchable searchable);

    Page<RukuSLDTO> search(Pageable pageable, Searchable searchable);

    RukuSLDTO detail(Long id);

    void processEnd(String workOrderNum);
}
